home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
profile.arc
/
TESTER.C
< prev
next >
Wrap
Text File
|
1985-11-28
|
640b
|
40 lines
#include <stdio.h>
#define AZTEC
#ifdef LATTICE
#include "dos.h"
#endif
#ifndef LATTICE
unsigned int regs[4];
#else
struct SREGS regs;
#endif
main(argc,argv)
int argc;
char *argv[];
{
long i;
unsigned int regs[4];
unsigned ip;
ip = trick();
segread(
#ifndef LATTICE
regs
#else
®s
#endif
);
fprintf(stderr,"cs=%x\nss=%x\nds=%x\nes=%x\nip=%x",
#ifndef LATTICE
regs[0],regs[1],regs[2],regs[3]
#else
regs.cs,regs.ss,regs.ds,regs.es
#endif
,ip);
for (i = 0; i < 250000L; i++)
nothing();
exit();
}
nothing()
{
}